package org.pine.manager.convertor;

import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;
import org.pine.api.beans.request.UserQueryRequest;
import org.pine.api.beans.response.UserQueryResponse;
import org.pine.common.convertor.EntityConvertor;
import org.pine.common.convertor.QueryConvertor;
import org.pine.manager.bo.UserBo;
import org.pine.manager.query.UserQuery;
import org.pine.model.entity.User;

/**
 * 用户转换器
 *
 * @author pine
 * @version v1.0
 * @since 2025-04-12 15:47
 */
@Mapper(componentModel = "spring", unmappedTargetPolicy = ReportingPolicy.IGNORE)
public abstract class UserConvertor implements EntityConvertor<User, UserBo>,
        QueryConvertor<UserBo, UserQuery, UserQueryRequest, UserQueryResponse>, EnumConvertor {
    
}
